﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 责任链模式
{
    //抽象审批人类
    abstract class Approver
    {

        public Approver NextApprover { get; set; }

        public string Name { get; set; }

        public Approver(string name)
        {
            this.Name = name;
        }

        public abstract void ProcessRequest(PurchaseRequest purchaseRequest);
    }
}
